package com.db.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.db.entity.Book;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BookMapper extends BaseMapper<Book> {

    int insertBatch(List<Book> list);

    void truncate();
}
